<template>
  <div>
    <div class="block">
      <!-- <span class="demonstration">直接前往</span> -->
      <el-pagination
        @size-change="handleSizeChange"
        @current-change="handleCurrentChange"
        :current-page.sync="currentPage3"
        :page-size="100"
        layout="prev, pager, next, jumper"
        :total="1000"
      >
      </el-pagination>
    </div>
  </div>
</template>

<script>
export default {
  methods: {
    handleSizeChange(val) {
      console.log(`每页 ${val} 条`);
    },
    handleCurrentChange(val) {
      console.log(`当前页: ${val}`);
    },
  },
  data() {
    return {
      currentPage3: 1,
    };
  },
};
</script>

<style lang = 'less' scoped>
/deep/.el-pagination {
  display: flex;
  flex-direction: row;
  justify-content: center;
}
</style>